package com.yupi.project.model.dto.question;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 问题表
 *
 * @TableName question
 */
@TableName(value = "question")
@Data
public class QuestionAddRequest implements Serializable {
    /**
     * id
     */

    private Long id;

    /**
     * 问题
     */
    private String problem;

    /**
     * 答案
     */
    private String answer;

    /**
     * 产品id
     */
    private Long productid;


    /**
     * 问题图片
     */
    private List<MultipartFile> questionList;

    /**
     * 问题图片
     */
    private List<MultipartFile> answerList;
}